package cn.tedu.sims.pojo.dto;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
public class UserLoginByEmailDTO implements Serializable {
    /**
     * 邮箱
     */
    @Email(message = "格式不正确")
    private String email;
    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空")
    private String code;
}
